﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity.Framework;

namespace Business.Operations
{
    public class LigSehirOperation
    {
        private static HPDMASEntities db = new HPDMASEntities();

        public static void LigSehirInsert(Lig lig)
        {
            db.Lig.AddObject(lig);
            db.SaveChanges();
        }

        public static void LigSehirInsert(LigSehir ligSehir)
        {
            db.LigSehir.AddObject(ligSehir);
            db.SaveChanges();
        }
    }


}
